﻿<%@ Page Title="" Language="C#" MasterPageFile="~/index.Master" AutoEventWireup="true" CodeBehind="timkiemnangcao.aspx.cs" Inherits="QuanLyBanGiay.timkiemnangcao" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="0" cellspacing="0" width="200px">
            <tr>
                <td height="12px">
                </td>
            </tr>
            <tr>
                <td class="style_catelog" valign="top" colspan="2">
                    Tìm kiếm
                </td>
            </tr>
            <tr>
                <td height="10px">
                </td>
            </tr>
            <tr>
                <td width="10px">
                </td>
                <td>
                    <asp:TextBox ID="txtTim_kiem" runat="server" Text="Từ khóa tìm kiếm" onblur="if(this.value=='')
                this.value='Từ khóa tìm kiếm';" onfocus="if(this.value=='Từ khóa tìm kiếm') this.value='';" Width="180px">
                    </asp:TextBox>
                    <p>
                        <asp:DropDownList ID="ddlPhanLoai_Search" Width="180px" runat="server">
                        </asp:DropDownList>
                    </p>
                    <p>
                        Giá từ:<asp:DropDownList ID="ddlGiaTu" runat="server" Style="margin-left: 10px;"
                            Width="127px" AutoPostBack="True" 
                            onselectedindexchanged="ddlGiaTu_SelectedIndexChanged">
                            <asp:ListItem Value="0">Giá</asp:ListItem>
                            <asp:ListItem Value="100000">100.000 VNĐ</asp:ListItem>
                            <asp:ListItem Value="300000">300.000 VNĐ</asp:ListItem>
                            <asp:ListItem Value="500000">500.000 VNĐ</asp:ListItem>
                            <asp:ListItem Value="700000">700.000 VNĐ</asp:ListItem>
                            <asp:ListItem Value="1000000">1.000.000 VNĐ</asp:ListItem>
                            <asp:ListItem Value="1500000">1.500.000 VNĐ</asp:ListItem>
                            <asp:ListItem Value="2000000">2.000.000 VNĐ</asp:ListItem>
                            <asp:ListItem Value="5000000">5.000.000 VNĐ</asp:ListItem>
                            <asp:ListItem Value="5000000">7.000.000 VNĐ</asp:ListItem>                            
                        </asp:DropDownList>
                    </p>
                    <p>
                        Giá đến:<asp:DropDownList ID="ddlGiaDen" runat="server" Width="128px">
                        </asp:DropDownList>
                    </p>
                        <div style="width: 90px; float: left; height: 39px; margin-left:5px">
                            <div class="button">
                                <div class="button_inner_center">
                                    <asp:Button ID="btnTim_kiem" runat="server" CssClass="button_inner_right" ValidationGroup="_search"
                            Text="Tìm kiếm" onclick="btnTim_kiem_Click" />
                                </div>
                            </div>
                        </div>
                        <div style="width: 90px; float: right; margin-right: 5px; height: 39px">
                            <div class="button">
                                <div class="button_inner_center">
                                    <asp:Button ID="btnHuy_bo" runat="server" CssClass="button_inner_right" Text="Hủy bỏ" onclick="btnHuy_bo_Click" />
                                </div>
                            </div>
                        </div>
                        <%--<asp:Button ID="btnTim_kiem" class="themes-button" runat="server" ValidationGroup="_search"
                            Text="Tìm kiếm" onclick="btnTim_kiem_Click" />
                        &nbsp;&nbsp;<asp:Button ID="btnHuy_bo" class="themes-button" runat="server" 
                            Text="Hủy bỏ" onclick="btnHuy_bo_Click" />--%>
                </td>
            </tr>
        </table>
<%--    <div id="dangky">
 
 <div id="titledangky">Tìm kiếm nâng cao</div>
 <form id="frmthongtincanha" method="get" action="Default.aspx">
    <table style="width: 100%">
        <tr>
            <td style="width: 157px; ">
                Tên sản phẩm:</td>
            <td>
                <input id="txtten" runat="server" type="text" size="20" /><br />
            </td>
        </tr>
        <tr>
            <td style="width: 157px; ">
                Loại:</td>
            <td>
                <select id="Select1" name="loai">
                    <option value=''>Tất cả loại</option>
                    <asp:Literal ID="LiteralLoai" runat="server"></asp:Literal>
                </select></td>
        </tr>
        <tr>
            <td style="width: 157px">
                Giá: (đơn vị nghìn đồng)</td>
            <td>
                từ <input runat="server" name="txttugia" type="text" onkeypress='validate(event)'/> 
                đến <input runat="server" name="txtdengia" type="text" onkeypress='validate(event)'/></td>
        </tr>
        <tr>
            <td style="width: 157px" >
               </td>
                <td >
             
            <asp:Button ID="Button1" runat="server" Text="Tìm" OnClick="Button1_Click" />

        </tr>
        
    </table>
    </form>
    <script>
        function validate(evt) {
            var theEvent = evt || window.event;
            var key = theEvent.keyCode || theEvent.which;
            key = String.fromCharCode(key);
            var regex = /[0-9]|\./;
            if (!regex.test(key)) {
                theEvent.returnValue = false;
                if (theEvent.preventDefault) theEvent.preventDefault();
            }
        }
    </script>
    </div>--%>
</asp:Content>
